{extend name='public/layout' /}
{block name='content'}
<style>
    .tab_title02 li{width:33.33%;}
</style>
<div>
    <div class="position"><p>您的当前位置：<a href="{:url('Index/index')}">首页</a>  >  <a href="{:url('Question/index')}">问答</a>
    </p></div>
    <div class="div_box01">
        <div class="tab_title02 overflow_h">
            <ul class="idTabs float_l">
                <li><a href="{:url('Question/index')}" {empty name='solve'}class="selected"{/empty}>最新问答</a></li>
                <li><a href="{:url('Question/index',['solve'=>1])}" {if condition="$solve eq 1"}class="selected"{/if}>最新解决</a></li>
                <li><a href="{:url('Question/index',['solve'=>2])}" {if condition="$solve eq 2"}class="selected"{/if}>待解决</a></li>
            </ul>
        </div>
        <div class="houses_inf padd_h">

            <ul>
                {volist name="lists" id='vo' empty='<li>暂无数据</li>'}
                    <li><a href="{:url('Question/detail',['id'=>$vo['id']])}">{if condition="$vo.option eq 1"}<span class="org">【已解决】</span>{else /}<span style="color:#008000">【待解决】</span>{/if}{$vo.title}</a></li>
                {/volist}
            </ul>
            <div class="plastic_bottom_pages">
                {$pages}
            </div>
        </div>
    </div>
</div>
{/block}

